package cn.edu.cdu.group4nb.service;

import cn.edu.cdu.group4nb.po.RoleInf;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auther: tupeng
 * @date: 2019-10-10 13:00
 */
public interface RoleService {
    void addRole(@Param("rolename") String rolename,
                 @Param("roledetail") String roledetail);
    void deleteRole(int[] roleid);
    List<RoleInf> queryAllRole();
    RoleInf queryRoleById(int roleid);
    void updateRole(@Param("rolename") String rolename,
                    @Param("roledetail") String roledetail,
                    @Param("roleid") String roleid);
}
